//
//  ViewController.m
//  绘制弧形进度条
//
//  Created by 伍银荣 on 2021/7/1.
//  Copyright © 2021 com.example. All rights reserved.
//

#import "ViewController.h"
#import "CustomView.h"

@interface ViewController ()
@property (strong, nonatomic) IBOutlet UISlider *slider;
@property (strong, nonatomic) IBOutlet CustomView *customView;



@end

@implementation ViewController
//slider的点击事件
- (IBAction)sliderClicked:(UISlider *)sender {
    NSLog(@"value = %f",sender.value);
    _customView.progressValue = sender.value;
    
}

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}


@end
